package com.weishu.service.impl;


import com.weishu.domain.Reigion;
import com.weishu.domain.Shangquan;
import com.weishu.domain.SubWay;
import com.weishu.mapper.SanMapper;
import com.weishu.service.SanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author huizhenfei
 * @Description //TODO qq231
 * @Date 20:53 2021/5/18
 * @Param
 * @return
 **/
@Service
public class SanServiceImpl implements SanService {
    @Autowired
    private SanMapper sanDao;

    @Override
    public List<Reigion> getSlist(Integer regionId) {
        return sanDao.getslist(regionId);
    }

    @Override
    public List<SubWay> getsubwaylist(int parseInt) {
        return sanDao.getSubwaylist(parseInt);
    }

    @Override
    public List<Shangquan> getShangquan(String code) {
        return sanDao.getshangquan(code);
    }
}
